appprofilepanel = new Ext.Panel({

});

function loadEditProfile() {
	window.location.hash = "UserProfile";
	//addWindow('UserProfile', '../jsp/user/profile.jsp', 'Edit Profile', true);
} 

function loadProfilePanel(userId) {
	/*appprofilepanel.add({
		xtype: 'image', 
		src: '../static/images/profile/default_picture.jpg'
	});*/
	
	appprofilepanel.add({
		items: [{
			xtype:'box',
			
			autoEl: {html:'<a href="javascript:loadEditProfile()">Edit Profile</a>'} 
			}
		]
	});
	
	appprofilepanel.add({
		items: [{
			xtype: 'label', 
			text: 'Category panel' 
		} 
		]
	});
	
}